<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <link rel="stylesheet" type="text/css" href="{% static 'css/index.css' %}"/>
    <link rel="stylesheet" type="text/css" href=".{% static 'css/style.css' %}"/>
    <title>{% block title %}{% endblock %}</title>
    <script src="{% static 'js/jquery-3.2.1.min.js' %}"></script>
    <script src="{% static 'js/common.js' %}"></script>
    <script src="{% static 'js/swiper.js' %}"></script>
</head>
<body>
<header>
    <div class="lf">
        <a class="home" href="index.html">系统首页</a>
        <a href="bbs.html">论坛</a> 
        <a href="">上传资源</a>
    </div>
    <div id="search">
        <input type="text" name="name" placeholder="请输入要搜索的资源" autocomplete="off"/>
        <a class="btn search">搜索</a>
    </div>

    <div class="rf">
        {#			{{ request.COOKIES.username }}#}
{#        {{ request.session.usernameSession }}#}

        {% if request.session.username %}
            <a>欢迎{{ request.session.username }}</a>
        {% else %}
            <a href="{% url 'auth:userlogin' %}">登录/注册</a>
        {% endif %}
        <a class="info" href="{% url 'auth:userpersonal' %}">个人中心</a>
        <a class="cols" href="shoucang.html">收藏</a>
        <a class="exit" href="{% url 'auth:userlogout' %}">退出登录</a>
        <a class="active" href="">中文</a>
        <a href="">Eng</a>
    </div>
</header>
{% block sixu %}{% endblock %}

<article>

    <!-- 轮播图 -->
    {% block acticle %}{% endblock %}
    <!-- 网站主体 -->
    {% block main %}{% endblock %}

</article>

<footer>
    <p class="decro">本站所有资源信息均由网友上传,本站只是为了推广资源让更多读者下载,使用。如涉侵权，请联系管理员</p>
    <p class="cr">Copyright © 2021-2025 <span class="site">爱下载资源分享平台</span> All Rights Reserved.</p>
    <p class="num">沪ICP备14048333号</p>
</footer>

</body>

</html>

{% block myscript %}{% endblock %}